import React from "react";
import { Route } from "react-router-dom";

const routerMap = (routerList = []) => {
  routerList.map(({ key, path, isexact, component }) => {
    return <Route key={key} exact={isexact} path={path} component={component} />
  })


}

export default routerMap
